package gll.pub.onepeas

import org.springframework.boot.autoconfigure.EnableAutoConfiguration
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.autoconfigure.domain.EntityScan
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
import org.springframework.boot.runApplication
import org.springframework.context.annotation.ComponentScan

@ComponentScan(basePackages=["com.joydeep.springboot"])
@EntityScan(basePackages=["com.joydeep.springboot.vo"])
@SpringBootApplication
class OnePeasApplication

fun main(args: Array<String>) {
    runApplication<OnePeasApplication>(*args)
}
